import glob

# create build environment
env = Environment()

# gather a list of source files
sources = glob.glob("src/*.c??")

env.ParseConfig("sdl-config --cflags")
env.ParseConfig("sdl-config --libs")

#env.Append(CCFLAGS = ["-Wall", "-O2"])
env.Append(CCFLAGS = ["-g", "-Wall", "-O2", "-DDEBUG"])
env.Append(LIBS = ["osgProducer", "osgParticle", "osgText", "osgGA", "osgDB", "osgUtil", "osg"])

# build target
env.Program(target = "bin/tigerrad", source = sources)
#env.SharedLibrary(target = "lib/_Consume", source = sources)
#env.Library(target = "fgeGL", source = sources)

